// 格式化时间
export function formattingTime(t) {
    let time = Math.round(t / 1000);
    let s = time % 60;
    s = s > 9 ? s : `0${s}`;
    let m = Math.floor(time / 60);
    m = m > 9 ? m : `0${m}`;
    return `${m}:${s}`;
}
export function formattingTime1(value) {
    if (value) {
        let data = new Date(value);
        return `${data.getFullYear()}-${data.getMonth() + 1}-${data.getDate()}`
    } else {
        return ''
    }

}